package com.lcj.mis.service.impl;

import com.lcj.common.util.Result;
import com.lcj.mis.controller.form.IdForm;
import com.lcj.mis.controller.form.SearchMonitoringForm;
import com.lcj.mis.feign.NebulaServiceApi;
import com.lcj.mis.service.MonitoringService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class MonitoringServiceImpl implements MonitoringService {

    @Resource
    private NebulaServiceApi nebulaServiceApi;

    @Override
    public Result searchOrderMonitoringByPage(SearchMonitoringForm form) {
        Result res = nebulaServiceApi.searchOrderMonitoringByPage(form);
        return res;
    }

    @Override
    public Result searchOrderMonitoringDetail(IdForm form) {
        Result res = nebulaServiceApi.searchOrderMonitoringDetail(form);
        return res;
    }
}
